<template>
  <div id="changepassword">
    <van-nav-bar
      title="修改密码"
      left-arrow
      @click-left="$router.back()"
    />
    <p></p>
    <p class="user">用户名</p>
    <p class="user">testuser</p>
    <p>
      <input type="text" placeholder="请输入旧密码">
    </p>
    <p>
      <input type="text" placeholder="请输入六位以上的新密码">
    </p>
    <p>
      <input type="text" placeholder="请重复输入新密码">
    </p>
    <p>
      <van-button type="primary">确定</van-button>
    </p>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  }
}
</script>

<style lang="scss" scoped>
#changepassword {
  // padding-top: 1.2rem;
  p {
    margin: 0;
    padding: .1rem;
    text-align: center;
    &.user {
      padding: 0;
    }
    input {
      width: 2.5rem;
      height: .35rem;
      border: 1px solid #888;
      padding-left: .1rem;
    }
  }
  .van-button {
    width: 2.6rem;
  }
}
</style>
